Integrand size = 15, antiderivative size = 35 \[ \int \frac {(1+x)^n}{\sqrt {1-x}} \, dx=-2^{1+n} \sqrt {1-x} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-n,\frac {3}{2},\frac {1-x}{2}\right ) \]
[Out]
Time = 0.00 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {71} \[ \int \frac {(1+x)^n}{\sqrt {1-x}} \, dx=-2^{n+1} \sqrt {1-x} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-n,\frac {3}{2},\frac {1-x}{2}\right ) \]
[In]
[Out]
Rule 71
Rubi steps \begin{align*} \text {integral}& = -2^{1+n} \sqrt {1-x} \, _2F_1\left (\frac {1}{2},-n;\frac {3}{2};\frac {1-x}{2}\right ) \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 35, normalized size of antiderivative = 1.00 \[ \int \frac {(1+x)^n}{\sqrt {1-x}} \, dx=-2^{1+n} \sqrt {1-x} \operatorname {Hypergeometric2F1}\left (\frac {1}{2},-n,\frac {3}{2},\frac {1-x}{2}\right ) \]
[In]
[Out]
\[\int \frac {\left (1+x \right )^{n}}{\sqrt {1-x}}d x\]
[In]
[Out]
\[ \int \frac {(1+x)^n}{\sqrt {1-x}} \, dx=\int { \frac {{\left (x + 1\right )}^{n}}{\sqrt {-x + 1}} \,d x } \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 1.16 (sec) , antiderivative size = 31, normalized size of antiderivative = 0.89 \[ \int \frac {(1+x)^n}{\sqrt {1-x}} \, dx=- 2 \cdot 2^{n} i \sqrt {x - 1} {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, - n \\ \frac {3}{2} \end {matrix}\middle | {\frac {\left (x - 1\right ) e^{i \pi }}{2}} \right )} \]
[In]
[Out]
\[ \int \frac {(1+x)^n}{\sqrt {1-x}} \, dx=\int { \frac {{\left (x + 1\right )}^{n}}{\sqrt {-x + 1}} \,d x } \]
[In]
[Out]
\[ \int \frac {(1+x)^n}{\sqrt {1-x}} \, dx=\int { \frac {{\left (x + 1\right )}^{n}}{\sqrt {-x + 1}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(1+x)^n}{\sqrt {1-x}} \, dx=\int \frac {{\left (x+1\right )}^n}{\sqrt {1-x}} \,d x \]
[In]
[Out]